package com.threeti.mecool.core.infrastructure.persistence.acl;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.threeti.mecool.core.domain.model.acl.PermissionRole;
import com.threeti.mecool.core.domain.model.acl.PermissionRoleAchievement;

public interface PermissionRoleAchievementRepository extends JpaRepository<PermissionRoleAchievement, Long>,JpaSpecificationExecutor<PermissionRoleAchievement> {
    List<PermissionRoleAchievement> findByPermissionRole(PermissionRole permissionRole);
}
